package com.naiterui.ehp.bs.pharmacist.service;

import com.naiterui.ehp.bp.support.exception.BusinessException;
import com.naiterui.ehp.bs.pharmacist.vo.user.UserAuthDetailVO;
import com.naiterui.ehp.bs.pharmacist.vo.user.UserDetailInfoVO;
import com.naiterui.ehp.bs.pharmacist.vo.user.UserInfoVO;

/**
 * @Description 用户信息
 * @Author gongbaoqiang
 * @Date 2019/12/6 8:17 PM
 */
public interface IUserService {

    /**
     * <pre>
     *     登陆用户主页信息
     * </pre>
     * @param pharmacistId
     * @return
     * @throws BusinessException
     */
    UserInfoVO getUserInfo(Long pharmacistId) throws BusinessException;

    /**
     * <pre>
     *     登陆用户详细信息
     * </pre>
     * @param pharmacistId
     * @return
     * @throws BusinessException
     */
    UserDetailInfoVO getUserDetail(Long pharmacistId) throws BusinessException;

    /**
     * 获取实名认证验证码
     * @param doctorId
     * @throws BusinessException
     */
    void getRealnameCode(Long doctorId) throws BusinessException;

    /**
     * 实名认证
     * @param doctorId
     * @param code
     * @throws BusinessException
     */
    void checkRealnameCode(Long doctorId, String code) throws BusinessException;

    /**
     * 获取认证详情
     * 
     * @param pharmacistId
     * @param uuid
     * @return
     * @throws BusinessException
     */
    UserAuthDetailVO getUserAuthDetail(Long pharmacistId, String uuid) throws BusinessException;


}
